fixed some dirctory location issues