correct some bugs
 a small dispatch  for install