Fixed bugs in kit files