fixed crash in IE because no prefix is detected. fixes #220