fixes some annoying error messages .