Fix generic common template to suit for uliweb 0.4