trim param keys