added fix to ajax_qs