fixed some bugs with chef log