fix location and contact bugs

location and contacts are working ok now