fix bug ajax event