ugly vga hack to make it work