Fixed crash in PKTProfile