track correct allocation setting

use setting value from transient settings
and reset allocation setting only once