initial value bug fixes