fix somr bug & hidden some functions