resume back key bug fix