$window to $wandow

so velocity doesn't break - jm