fix compile error
move assert content in ref
add type get/set