fix: better error when interface does not exist