removed warning and notice error messages