fix redundant codE