fix deprecation warnings in specs
remove cache