Added filter to remove newlines on keywords