fix order of requires in spec