added detection of fixed size windows