add assert for invalid GSN