fix back-button bug