errors fix