fix callback and relation