fix the message page and plan page