Solved problem with relation not ok