Fix fires errors handler in snippet