Fixed the clipping logic in add_entry
removed vimmy things