fixed new_entry problem