location working and sending proper locaiton