Fix for relation with callback