fixed a bug where edembed would use 100% of a core