fixed bug with next back button showing up