modify template for bug