fixes issues with the iframe