fixed potential crash when comparing frame data
stop republishing
handle messages which have metadata attached