optim controller and fix multiple api get