work around gcc bogus warning