added protection for CoB API