fix bug of showing ajax