changing the form of display message from cross-site message