correct handling of void context