20140627update

debug  some codes & polish up