check offset < 0