fix account endpoint