fixed Prout logic