to make WS_BORDER ok