Resolves some errors in php 5.4