remove redundant of statement