get rid of redundant line