remove trailing spaces for auto_complete names