repository grid correction. fixes #381