Edge and Impurity Effects on Quantization of Hall Currents