edit entry bug fix