Revert "change code style"

This reverts commit ad5f034e13797f1846d3f967e6db0f6137e1f1f3.
May cause segfault