break gallery in packages