remove a redundant statement