fix attached file path