fix order dependency in specs