updated the input test condition for zoom