some fixes on the customLocationFrag