fix for reasons not stored in SQL