resolve padding issue on location input