fix some bugs on representation metier and locale param
fix page helper