fixes get and getIn functions returning uninitialized values