Fixing entry_type instead of type