fixed: macro program counter is fixed after error occurred while executing commandline

fixes errors in loops or loop interruptions (may leave program counter
somewhere in the loop)