fix throwing