add return char and fix user edit bug