update， fix width/height issue