removing doc as accessable attribue