added check for callback in run method of kiteHelper