error catch for IG