fix a bug
editing and creating contacts