Fix null length