add app name to config
fix events error