Fix broken invoke