settings onresume bug fix