Fixes the bug of option