databse fixes for map speed