fixed the bio length truncation if no value set