better error handling for bad 'use'