Bugfix in initialize