removed unnecessary properties from messages array and from gridOptions