fix ajax markers for loop