Fix fatal bug in Safari and IE