fixed redundant assignment line