fixed map rendering issues