missing includes and redundant code in complex seladd/selsub/ifnotadd/ifnotsub