fix images saving path