Fix wrong output directory