fixed submit and button mixup.