refactoring specs, fixed no initial docs issue