fix some code's structures