fix in factory arguments