fixed output of locate