fixing logging format