fixed the retrieve the actions