fixed pointer issues on gets