fixing raty display issue