Properly check offsets