fixing presence type