fix the bug in glyder_check_subscription declaration