Better error check for sim arg