fixed a bug with edit account