updated height calc to exclude comments