Fix crash when options hash is not provided