added panic on layouts.Glob error