SEARCH 30 Jun : solving ocaps.R issue