all these hacks are a little bit scary...