replace factor editor