fix IMG_DIR and IMG_SRC