Fix method name issue for handleEvent