fix recover and init behaviour