remove unnecessary params