fix a bug for recovery dirtyratio