fix bug in new_install