fixed missing object field bug in validation