fixed ready events