remove extra parameters and pass title in demo