Fixed an error in actions not returning result.