BUG: fix grid line bug