linearClass fixes