fixed crashing on bad response from magic