fix issue on data not containing sub key defined in validator