event dispatch on error and loading start