track correct allocation setting

use setting value from transient settings
and reset allocation setting only once
Merge pull request #22 from crate/h/graceful-fix

track correct allocation setting