add edit for host view
fix missing span