inline with kul::local changes