remove redundant line in spec