make a little changes of agent about code style