catch UnboundVariable with -i and files from the interpreter