properly read duration value before adding Potion Effect