fixed some issues with path