Rectified Ui issue and pagination issue.