hack around a stupid bug