Fix option casting bug