mostly fixes path