modify head binding
add directive
refactroing