fixed bugs on User edit pages