removed redundant ajax