fix a bug for busy/free