bug fixes for variable row height