correcting back buttons