make modules a .well
smarty 3 fixes for module_params