hacks to try getting things working with frames, this should NEVER get merged to master