Logger error fixed