bugfix: fixed E_NOTICE when no fields-argument was passed