fix bug in CAP

fixed geometry bug in CAP adapter