bugfix

fixed a serious bug