ensure consistent initialization