factory: remove error on setting id