terrible that this is necessary, but it actually is :(