fixed a bug in api request