add null, this 'support' and refactor error message for 'with'