remove obsolete context type