Fixed IAC usage
moved from case to cond since conditions weren't constants