Make sure options are Hash