trying to fix actionLogDb allingning linksId with the one on db