fix path for imates