fixed IE bug - no support for const