fixing mkpgk