fixed notice error