Fixing study creation.