removed location guard