fixed
 logging