fix factor error