Fix grid issue #9.