editor height not working correctly