avoid extra ? if params empty