Logic error when I created targetZoomLevel