bugs fixed at toplevel error skipping