fix for notice error.