Remove useless paramaters