reuse document to avoid npe
install dependencies on sandboxed projects