fix failure when multiple expectations given