clear id and to_param