tweaks to make PHP5.4 strict messages STFU