fixing map offline crash