fix case where doctrine does not provide some metadata on field