Merge pull request #5406 from nabinhait/patch_fix

[fix] reload gl entry doctype in patch