minor fixes for spec