fixed bugs in Dashboard & globalMessage