fix foreca plugin