fix the depends and add better doc.