Fix grid exceptions