fix out filepath