Fix a bug that broke the core.api call

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>