change 'error' event to 'depErr' avoid conflict to default event