workaround emftvm issue