prevent PHP from wining about sone things. not sure why this wasn't a problem before...