fix a very serious bug