Fix bug in init from leinout refactoring