fixed new entry bug