fixed NyxSize and TBuffer problem