Update GL9817

added condition