fix some stuff for new install