Resolved errors after akka version change