remove unnecessary/duplicated arguments