resolve gsub error for gabba