fix rom control errors