added log on unsafe operation