Fixes a nasty bug

Fixes bug with loading native APIs instead of running them