fixed PHP 5.6 complains about calling non static method statically