Fix rate number check