fix gallery list adapter