fixes phar file