improve loging a litle bit