getDataFromOption fixed #1031