fixed redundant statement