bugfixes for created_by generator