Identifying and fixing code errors