* rename some functions to avoid be called by a external hook call * moved some functions to location.inc