fix phar archive