fix a bunch of bugs in store and load
implement undef behavior when accessing unitialized stack data