fixed typo for initwindow