ready event merge