invalid code redo