improve orders controller