Fix height;
Correct memory management;