fixed the bug of back btn