resolve error reporting edge case