remove unnecessary paramters