Workaround for bug.

I didn't found a different way. But it feels like a hack...