fix #271 in the only sane way I can think of