Fix the path of output