from get to ajax with 2 fixes