make it fail-safe