make conditional check less silly