Fixing spec errors