fixed an issue with the height test