fix options checking2