setting proper location