attempt to fix language lookup bug