[fix] - fix allocation of if list for osx