sorted problem with apply and list controller