Fix problem with spec order