fix orders controller