remove toParam to use flavour