trying to fix issues with not working other than local