finishButton bug fixed