no minmax for stupid win32