some issue with ajax setting