log error fixed