remove redundant pot and ts