fixing up the edit entry from