Fixes the duplicate process run with changing caps