fix bugs with wrong back button when comparing reln