Shouldn't be embarrassed. You didn't know something and asked the right question to solve the problem.