Corrected a Bug