fixing spec failures