fixed issue where ie was not getting constructor assigned properly