Bug fix on rate