Fixing spec generation