Fixed incompatibility issue with PHP < 5.5 (fixed)