remove threads arg