fix strange api