Fix bug with fetching option hash key