trying to fix linking issues in deployment