fix user editing functions