corrected warnings statements