fixed request construction bug