fix
logging added