fixed the ajax bullshittery