fix view address issue
add init callback