Cleanup db references in actions.go