Getting rid of unwanted params