removing the unpublished documents