Log error fixed