Fixed gallery list bug.