fixed api helper