fixing requirment order