move issue checker inside of the GK block