move min/max expires to presence module