reverted and added log message