fixing some things in reputation system