fix rating bug & update index.ph