Auto fix broken VIEW (fixes #1)