Fixed some formating error and a unhandled reply.