fixes #631

cke globals now global