fix a bug caused by this