removed smarty doc