fixed more path bugs