Dbg: passed array empty to template