added static variable single crop window, will fix issues