some changes to mapactivity