fixed some issues with the path