Fixes cap deployment and removes extra text