debug location init
location init fix