Huh.. I forgot about this.. i'm too old now :)) Thank you very much. So i reverted back to my old stable version.. i don't wanna loose my time to change more than 100 thousands lines of codes. In the end I didn't understand why Khaled made this change in $iif() where it affected many scripts, but it didn't bring anything good.