made changes to prevent auto zoom