adding document but the path is still incorrect