dont respond to insertrow if there is no messages array