fix some bugs revealed by work in progress cukes
variable cukes