fix slice checking methods