fix order of prerequisites