Module: fixed complex path generation