fix in msg conversion, added color merging