Fix bug in fake kit generation