bugfix for initial data