kmajor fixes