prevent log error