fix height calc