call extendEvent correctly