making events safe