attempt to solve problem with video modes