fixing 10g bug