Modified the controll to prevent the controll of example: 100*105 and 105*100