fix events array bug on play method