fixed bugs with mapview