fixed some code format issues