get rid of all hard-coded references to dotdot directory