better error message on related