Improves the except function