Fixed error on older PHP versions. Fixed spacing issue.