fixed bug causing incorrect offset into stage data