Ferdinand refused and went to Valencia instead of Madrid. Where did Ferdinand go rather than Madrid