Coping with unexpected value