Fix multiple contents in smarty view