trying to fix 404 in merge func