fix export checks