fixes for zooming