fixed issue bounds, added cache edge cases