fixing dup ratings and empty comments