fixed minor bug with akka message passing