fix spec problems