fix name detection and add cleaning when kernel build is done