fix template error in oscar0.5.1