Fixat bugg i MessageEvent