updated bios, fixed lengths