fix embedagram call