Fixing next buttons.