Fix error log errors