Fixed non-PHP5.2 compliant code :(