fix events, docs, lint