fixed bug 'invalid height setting'