fixed absolute path resolution for windows without eliminating the argument safety net