Fixed PHP notice error