Corrects for post PHP 5.2.6