fixed depend. bug