fix model for ratio