Minor errors fixed