rename proc,fix some bugs