Ugly hacks, but works like hell ;)

okay... it is just a hack :(