fixed loading from phar