fixed TODO: no err from decode; removed excess panic