fix bug
add reference in nonuke
fix style and fix template