set correct anchor