warn about missing functions all at once + fix error handling