state ok is now shown, log works but not good..