remove unnecessary factoring