Try to fix as cap_xxx function