spec fix issues