re-add "ok =" to prevent dialyzer warnings