Trouble with restore: "invalid command \restrict"