correct common denominator for hints, fix #156905