remove param from sub