Fix errors - Grid and Error Class