fix view height issue.