source raises error on missing function