Minor errors fix