bugfix template bodyparser() generting deprecated warning