Fix callbacks in loops