process data for bug