fixed some issues with height