fixbug
fix warning
fix coding style