somefixes for installing package from file