fixing back buttons