fixing rate problem