Fixed image dir issue