bugfix: set conf value to actual type instead of string
bugfix: pop size param, because it is ignored and may cause multiple keyword argument for the same param