remove redundant multiplication by 1