using nested format for spec
more fixes