finish support of phar