Change so php notices aren't generated