fixed smarty unclosed tag