Fix mistake in type for a function
Add missing include
Fix init_localization