fixed issue with null args in apply (IE)