Fix bug with return null from actor method.