fixed issue loading maps