Removed breaking variable in template