fix fatal errors in php 5.4