debug: select and error back to record