Fix NOTICE errors occuring on constants