Enable location and check input