made global function for map stuff
fix editSms screen