fixing spec and routes