fix to activate location if inactive