fix an issue. Error was thrown when null options were passing to create ...