remove the tailing blank space