remove newline for AG