trying to fix events