specs refactor fix