add last window

adding last window and fixing the error changing "s" for "w"