add option to clean id from params