fix - thiscallbindapplyspec a 'if this is used in a global function...' needed a var to be global