fix code style in server/cmd