Fix location convert data when location is null