removed gallery template from core