fixed some failing spec