next buttons bug fixed