fixes for specs