fixed error ocurring when underscanning