another one NOTICE error fix