eal: add error check for core options