fix a bug caused by previous cleanup