fix POST /accounts/:id bug