fix map rendering