fix problem with loading embed and meta when its not needed