set correct relation