corrected comile time errors