fix path for output