fix really annoying bug