remove the ajax call. Not working well