problems with getrealheight/width