fixing bugs with call order, and copy/paste...

var name error.