add_kure_modules not working correctly