fix for foregy