remove the asterisk at the end of the line