fixed problem with iframe not rendering properly