Fix factorial.