Fixed build error.
Fixed reorder warnings.
Fixed reorder warning.
Fixed unused variable warning.
Fixed unused variable warning.