fix bugs on rating page