fix missing onFinish call