bug fixed on function factorized