fix end arg