changed code format in some files