fix nosql check