Ficed to work with strict PHP 5.4