fix bugs for skp and snkp