reverting inheritance