fixed several failed specs