no window check in bindings and whoops! include the right template variable for the file template