fixed burst writing bugs