fix bug in keyword parsing for NO_RST