removing redundant line