fixing bugs in new install