The K-stability and singularities