fix template for if bug flags are None