fix an annoying bug;