fixing map tile problems