added extra check for mongofill compatibility