fix value being overwritten with placeholder