Arranged small bug in dangerousMap