fix user editing bug