added notification on error