PHP 5.3 compatibility

bugfix: using self:: in callback not supported in 5.3