Ugly ugly workaround.