fixex a bug