fixing spec input