fix #7 Safari freezes: error check map block exists