bug fixed

final fix in gng.php