convert to spaces