stripping out domain extensions