fixed global src problem