path bugs fixed