finally found an error that was hidden