fix bug for GDL