Corrected small (but critical) mistakes