remove trailing spaces, add positioning override.