bugfix : kexclude was not properly taken into account