fix PHP warnings from sanitization