fixed ajax bugs