location command fix