clean mess in doc