Save questions even when there's an error in a variable definition

see #216