fixed checking first time, confirm button