catch and remove forEach