fixed ValueError during installation