Fix for match_ratio convert to int