remove code that raises an error