fixed akka code samples