Bugfix missing function init