Bug fixing regarding reputation