restore 'ratio' feature in production version