clean ~ in docs