remove redundant statement