fixed ajax requests