fix setHeight copy error