chaned condition bug fixed.