Fix add rating feature