remove PHP notice warnings