fixed bug with formatting log