fixed extra code