fixed internal server error problem with stg orb api