Corrected minor flaws