Fixed annoying bug.