remove output statement after forcing an error