zoom control flow fix