fixing spec dependency