stupid hack which probably won't work