Fixed checking wrong option