still trying to fix gallery