updating size logic
debugging for ie