small bug fix

Ice canidate function needed to change & added in custom error function