fix registerAction