error doesn't recognize log