Fixes built-in function errors