removed onresume