fix multiconditions with more than 4 conditions