fix rake stats