Small fix to avoid error when debug is enabled.