fix ifs_compose_def
attempt to fix collapse