fixed a bug on next button