Fixing parse error on cap task