resolve bug in endpoint api request